package cn.iocoder.yudao.module.aiposter.controller.app.template.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - 海报模版分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppTemplatePageReqVO extends PageParam {

    @Schema(description = "标题", example = "新年手机海报")
    private String title;

    @Schema(description = "行业", example = "食品")
    private String bizName;

    @Schema(description = "关键词", example = "草莓、巧克力")
    private String keyword;

    @Schema(description = "封面图", example = "/static/10101.png")
    private String cover;

    @Schema(description = "图层信息", example = "{'type','标题'}")
    private String data;

    @Schema(description = "宽度", example = "200")
    private Integer width;

    @Schema(description = "高度", example = "300")
    private Integer height;

    @Schema(description = "状态（启动、停止）", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}